home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / lu_100.zip / LOGUTIL.DOC next >
Text File  |  1992-01-17  |  4KB  |  104 lines

  1.  
  2. LogUtil
  3. --------------------------------------------------------------------
  4. Log files for a BBS, mailer, and some games grow larger if unattended
  5. using up more disk space than may be necessary.  This program will
  6. allow you to control the size of log files, or any text file for that
  7. matter, so that you don't have to keep checking on how large they are
  8. becoming.
  9.  
  10. Syntax:  logutil <filename.ext> <number lines> f or l
  11.  
  12.          or
  13.  
  14.          logutil <filename.ext> reverse
  15.  
  16. The filename.ext is the name of the file that you wish to reduce.
  17. You may include the path as well, for example
  18.  
  19.         logstrip c:\bbs\system.log
  20.         logstrip c:\mailer\mailer.log
  21.         logstrip c:\games\game.log
  22.  
  23. The number of lines parameter is an integer that is the number of lines
  24. you wish to leave remaining in the specified file.  i.e. a parameter of
  25. 500 will reduce the file to 500 lines.
  26.  
  27. The  f  or  l  parameter is for determining whether you wish to leave the
  28. (f)irst lines or the (l)ast lines.
  29.  
  30. Example:
  31.  
  32.   logutil BBS.LOG 100 F    ==> leave the first 100 lines of BBS.LOG
  33.   logutil BBS.LOG 500 L    ==> leave the last 500 lines of BBS.LOG
  34.  
  35.  
  36. The reverse parameter takes the specified file and reverses the order
  37. of the lines, effectively turning the file "upside-down".
  38.  
  39. Example:
  40.  
  41.   logutil BBS.LOG reverse  ==> reverse order of the lines in BBS.LOG
  42.  
  43.  
  44. A runtime error 002 means that the file you have specified does not
  45. exist.
  46.  
  47.  
  48.     Legal details concerning LogUtil
  49.     -----------------------------------------------------------------
  50.     1. Baker Street Software is in no way obligated to provide future
  51.        versions of, or support for, this program.
  52.  
  53.     3. You may not modify or otherwise reverse-engineer this program.
  54.  
  55.     4. The   software    and   accompanying   materials    (including
  56.        instructions for use)  are provided "as  is" without  warranty
  57.        of any kind.  Further, the author does not warrant, guarantee,
  58.        or make any representations regarding the use,  or the results
  59.        of the use,  of the  software or written materials in terms of
  60.        correctness, accuracy,  reliability, currentness or otherwise.
  61.  
  62.     5. The  author(s) shall not be liable for any direct,   indirect,
  63.        consequential,  or  incidental damages  (including damages for
  64.        loss of  business  profits,  business  interruption,  loss  of
  65.        business information, and the like)  arising out of the use or
  66.        inability  to use  the software  even if  the author  has been
  67.        advised of the possibility of such damages.
  68.  
  69.     6. You  are free to distribute this archive,  in fact I hope that
  70.        you do so.  Please observe these few restrictions.
  71.  
  72.        a. All the  files in the  original archive  must be  included.
  73.  
  74.        b. No fee  may is charged  for its  distribution, and that the
  75.           distribution  archive is  not modified  in  any  way.   Pay
  76.           Bulletin Board Systems may however charge  their normal fee
  77.           provided  that  no  additional  charge  is  levied for this
  78.           program.
  79.  
  80.        c. LogUtil may not be included as part of any software library
  81.           which  is distributed  on a  commercial basis (commercial =
  82.           "for money")  without prior written permission  from  Baker
  83.           Street Software.
  84.  
  85.     7. Use of this  software is considered  agreement to these terms.
  86.  
  87.     Registration/Support/Questions
  88.     ------------------------------------------------------------------
  89.     If  you like  this program  please register it.   If you  register
  90.     this  program you will receive a registration number that  will be
  91.     valid  for  all  future  versions  of this  program.   To register
  92.     complete the  registration form and send $5.00 to
  93.  
  94.     Brent Herring
  95.     1922 Bruce Apt B-7
  96.     Conway, Arkansas  72032
  97.  
  98.     $5.00 isn't much is it?
  99.  
  100.     Questions about this program can be directed to
  101.     Brent Herring   Quantum Leap BBS  (501) 329-6240  Conway, Arkansas
  102.     ------------------------------------------------------------------
  103.  
  104.